package exception;

public class RuntimeConstantPoolOOMM {
    public static void main(String[] args) {
        String string=new  StringBuilder("计算机").append("软件").toString();
        System.out.println(string.intern()==string);
        String string1=new  StringBuilder("wang").append("xia").toString();
        System.out.println(string1.intern()==string1);
    }
}
